import React from 'react';
import { useUer } from 'utils/user';
import { IdSelect } from './id-select';
export const UserSelect = (props: React.ComponentProps<typeof IdSelect>) => {
  const { data: users } = useUer();
  return <IdSelect options={users || []} {...props} />;
};
